package com.nail.post.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created By XJL On 2017/11/5
 */
public class AppProducer extends BaseTest{
   /* @Autowired
    private ProduceService produceService;
    public static void main(String[] args) {
        *//*ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContent.xml");*//*
       *//* ProduceService producerServer =  ctx.getBean(ProduceService.class);*//*
        for (int i=0;i<100;i++){
            produceService.sendMessage();
        }
        ctx.close();
    }*/
}
